<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('植保请求')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-ncZhibao-add">

		<input id="planId" name="planId" th:value="${planId}" th type="hidden">
		<input id="stageId" name="stageId" type="hidden">

		<div class="form-group">
			<label class="col-sm-3 control-label">植物病症：</label>
			<div class="col-sm-8">
				<textarea id="symptom" required name="symptom" class="form-control" type="text" rows="4"></textarea>
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-3 control-label">备注：</label>
			<div class="col-sm-8">
				<textarea id="remark" name="remark" class="form-control valid" type="text" rows="4"></textarea>
			</div>
		</div>
	</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
    var prefix = ctx + "system/ncZhibao"
    $("#form-ncZhibao-add").validate({
        rules:{
            xxxx:{
                required:true,
            },
        },
    });
        focusCleanup: true

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/addRequestSave", $('#form-ncZhibao-add').serialize());
        }
    }
</script>
</body>
</html>
